﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Djs.Neuronic.Core;

namespace Djs.Neuronic
{
    public class NeuroException : Exception
    {
        public NeuroException() : base() { }
        public NeuroException(string message) : base(message) { }
        public NeuroException(string message, Exception innerException) : base(message, innerException) { }
    }
    public class NeuroSysException : NeuroException
    {
        public NeuroSysException() : base() { }
        public NeuroSysException(string message) : base(message) { }
        public NeuroSysException(string message, Exception innerException) : base(message, innerException) { }
    }
    public class NeuroDataNotFoundException : NeuroException
    {
        public NeuroDataNotFoundException() : base() { }
        public NeuroDataNotFoundException(string message) : base(message) { }
        public NeuroDataNotFoundException(string message, Exception innerException) : base(message, innerException) { }
        public NeuroDataNotFoundException(Type dataType, int id) : base("Data for class " + dataType.NamespaceName() + " and ID=" + id.ToString() + " not found.") { }
    }
}
